package com.example.demoeventspring.service;

import com.example.demoeventspring.event.LoginNotifyEvent;
import com.example.demoeventspring.event.RegisterNotifyEvent;

/**
 * 实际事件处理
 */
public interface EventService {
    /**
     * 注册通知
     * @param event
     */
    void RegisterNotifyEvent(RegisterNotifyEvent event);

    /**
     * 登录通知
     * @param event
     */
    void LoginNotifyEvent(LoginNotifyEvent event);
}
